package com.aqie.appletserver.bean.enumclass;

public enum VoiceFormat {
    AMR(3), SILK(4), PCM(6), MP3(8), AAC(9);

    private final int code;

    private VoiceFormat (int code){
        this.code = code;
    }

    public int getCode(){
        return code;
    }

    public static void main(String[] args) {
        VoiceFormat voiceFormat = AMR;
        System.out.println(AMR.code);
    }
}
